Sellkit\Blocks\Helpers\Optin\Helper B

Total Complexity 94
Dependencies 2
Dependents 1
Total lines 701
Lines of code 348
Logical lines of code 203
Comment lines 229
Methods 22
Properties 9

Methods 22

Method Rating Maintainability Complexity Lines of code
handle_file_download()
A
42 14 50
redirect()
A
48 9 32
set_custom_messages()
S
53 7 23
run_actions()
S
52 7 22
handle_frontend()
S
50 5 28
get_optin_block_data()
S
59 6 13
send_response()
S
56 5 18
handle_download_redirect()
S
59 5 15
handle_decisiton()
S
54 4 21
download_file()
S
56 4 17
check_api_params()
S
59 4 14
get_address_field()
S
63 4 12
download_url()
S
62 4 11
get_client_ip()
S
57 3 18
check_required_fields()
S
64 4 9
add_response()
S
67 2 8
validate_form()
S
66 2 9
set_success()
S
77 1 4
get_messages()
S
77 1 4
get_make_require_notice()
S
70 1 7
make_missing_field()
S
70 1 7
__construct()
S
70 1 6